package com.chwn.curiousdiary.ui.story.contract;

import com.chwn.curiousdiary.bean.StoryListBean;
import com.chwn.harulib.mvp.BasePresenter;
import com.chwn.harulib.mvp.BaseView;

import java.util.List;

/**
 * Created by Myshikin on 2017/4/11.
 */

public interface StoryListContract {
    interface View extends BaseView {
        void showStoryList(List<StoryListBean> storyList);
        void showStoryTypeCount(int storyTypeCount);
    }

    abstract class Presenter extends BasePresenter<StoryListContract.View> {
        public abstract void getStoryList(String storyType, int page);
        public abstract void getStoryTypeCount(String storyPackageId);
    }
}
